<?php
namespace ITSociaal\Themes\Houtgrutter;

class StringRenderer implements RendererInterface
{
	/** @var string */
	protected $string = "";

	/**
	 * @return string
	 */
	public function getString()
	{
		return $this->string;
	}

	/**
	 * @param string $string
	 *
	 * @return self
	 */
	public function setString($string)
	{
		$this->string = $string;

		return $this;
	}

	/** {@inheritDoc} */
	public function render()
	{
		return $this->getString();
	}
}

/* vi:set ts=4 sw=4 noet: */
